﻿@{
    ViewBag.Title = "Home Page";
}
<div class="container-fluid">
    <div class="carousel">
        <div class="carousel-inner">
            <div class="item active">
                <img src="@Url.Content(ViewBag.HeaderImage)" />
                <div class="container">
                    <div class="carousel-caption">
                        <h1 class="hidden-xs">LynxWebLog Content Management System</h1>
                        <h2 class="hidden-xs">Easily create blogs and websites without the need to know html or css.</h2>
                        <h1 class="visible-xs">LynxWebLog CMS</h1>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12 col-md-12 col-lg-12">
            <h2>Getting started</h2>
            <p>
                LynxWebLog CMS gives you a powerful way of easily creating blogs and / or websites. Full details of the
                capabilities and deployment instructions are at <a href="~/Pages/LynxWebLog/LynxWebLog/MainPage">LynxWebLog Details</a>
            </p>
            <p>LynxWebLog allows creation of websites or blogs with minimal, or even no, knowledge of HTML. It uses WYSIWYG editors to accomplish this.</p>
            <p>
                The primary internal editor is CKEditor, which has been integrated. It has full WYSIWYG capability and the option to edit HTML.
                There is an inteface to upload media objects for inclusion in the website or blog.
            </p>
            <p>
                LynxWebLog CMS can use <a href="http://windows.microsoft.com/en-us/windows-live/essentials-other#essentials=overviewother">Microsoft Windows Live Writer</a>
                from Windows Live Essentials 2012. Live Writer provides a WYSIWYG interface to create blog entries or web pages and to control the upload of the content
                to LynxWebLog.
            </p>
            <p>Data for the blog or website is stored in a Sql Server 2012 database. Pages and Posts are fully searchable. Sql Server 2012 Express, which is free, is useable for small sites.</p>
            <h3>Source Code Repository</h3>
            <p>The source code for LynxWebLog is available at <a href="http://lynxweblog.codeplex.com">LynwWebLog at Codeplex</a></p>
            <p>
                @if (!User.Identity.IsAuthenticated) {
                    @Html.ActionLink("Register for new Blog or Web Page", "Register", "Account", routeValues: null, htmlAttributes: new { id = "registerLink", @class = "btn btn-default btn-primary" })
                    @Html.ActionLink("Existing Users Log In", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink", @class = "btn btn-default btn-primary" })
                }
            </p>
    </div>
    <hr />
    <div class="row">
        <div class="col-sm-12 col-md-12 col-lg-12">
            @Html.Partial("_BlogDataPartial")
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12 col-md-12 col-lg-12">
            @Html.Partial("_PageDataViewPartial")
        </div>
    </div>
</div>
</div>
